<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSEvents" targetNamespace="http://tempuri.org/DSEvents.xsd" xmlns:mstns="http://tempuri.org/DSEvents.xsd" xmlns="http://tempuri.org/DSEvents.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="-1" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="HSHConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="HSHConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.HSHConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="hashomerConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="hashomerConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.hashomerConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EventTableAdapter" GeneratorDataComponentClassName="EventTableAdapter" Name="Event" UserDataComponentName="EventTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HSHConnectionString (Web.config)" DbObjectName="HSH_Prod.dbo.Event" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.GetEventsByUser</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UserID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsIncludeClosedEvents" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="EventID" DataSetColumn="EventID" />
              <Mapping SourceColumn="EventName" DataSetColumn="EventName" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
              <Mapping SourceColumn="EventComments" DataSetColumn="EventComments" />
              <Mapping SourceColumn="Price" DataSetColumn="Price" />
              <Mapping SourceColumn="RegistrationEndDate" DataSetColumn="RegistrationEndDate" />
              <Mapping SourceColumn="IsAfterEndRegistrationStillOpen" DataSetColumn="IsAfterEndRegistrationStillOpen" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EventToKenTableAdapter" GeneratorDataComponentClassName="EventToKenTableAdapter" Name="EventToKen" UserDataComponentName="EventToKenTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HSHConnectionString (Web.config)" DbObjectName="hashomer.dbo.GetEventKen" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.GetEventKen</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EventId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="KenId" DataSetColumn="KenId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EventToLayerTableAdapter" GeneratorDataComponentClassName="EventToLayerTableAdapter" Name="EventToLayer" UserDataComponentName="EventToLayerTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HSHConnectionString (Web.config)" DbObjectName="hashomer.dbo.GetEventLayer" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.GetEventLayer</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EventId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="LayerId" DataSetColumn="LayerId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EventToRegionTableAdapter" GeneratorDataComponentClassName="EventToRegionTableAdapter" Name="EventToRegion" UserDataComponentName="EventToRegionTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HSHConnectionString (Web.config)" DbObjectName="hashomer.dbo.GetEventRegion" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.GetEventRegion</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EventId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="RegionId" DataSetColumn="RegionId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GetOneEventTableAdapter" GeneratorDataComponentClassName="GetOneEventTableAdapter" Name="GetOneEvent" UserDataComponentName="GetOneEventTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HSHConnectionString (Web.config)" DbObjectName="HSH_prod.dbo.GetOneEvent" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.GetOneEvent</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EventID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="EventID" DataSetColumn="EventID" />
              <Mapping SourceColumn="EventName" DataSetColumn="EventName" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
              <Mapping SourceColumn="RegistrationEndDate" DataSetColumn="RegistrationEndDate" />
              <Mapping SourceColumn="EventComments" DataSetColumn="EventComments" />
              <Mapping SourceColumn="Price" DataSetColumn="Price" />
              <Mapping SourceColumn="priceForMembers" DataSetColumn="priceForMembers" />
              <Mapping SourceColumn="priceForBrothers" DataSetColumn="priceForBrothers" />
              <Mapping SourceColumn="IsAfterEndRegistrationStillOpen" DataSetColumn="IsAfterEndRegistrationStillOpen" />
              <Mapping SourceColumn="isSwimming" DataSetColumn="isSwimming" />
              <Mapping SourceColumn="isShirt" DataSetColumn="isShirt" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="HSHConnectionString (Web.config)" DbObjectName="HSH_prod.dbo.UpdateEvent" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="UpdateOneEvent" Modifier="Public" Name="UpdateOneEvent" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="UpdateOneEvent">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.UpdateEvent</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EventId" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@EventName" Precision="0" ProviderType="NVarChar" Scale="0" Size="150" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@startDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@RegistrationEndDate" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@EventComments" Precision="0" ProviderType="NVarChar" Scale="0" Size="400" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@Price" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@priceForMembers" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="decimal" DbType="Decimal" Direction="Input" ParameterName="@priceForBrothers" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@IsAfterEndRegistrationStillOpen" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isSwimming" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@isShirt" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DSEvents" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="DSEvents" msprop:Generator_UserDSName="DSEvents">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Event" msprop:Generator_TableClassName="EventDataTable" msprop:Generator_RowEvArgName="EventRowChangeEvent" msprop:Generator_TableVarName="tableEvent" msprop:Generator_TablePropName="Event" msprop:Generator_RowDeletingName="EventRowDeleting" msprop:Generator_UserTableName="Event" msprop:Generator_RowChangingName="EventRowChanging" msprop:Generator_RowDeletedName="EventRowDeleted" msprop:Generator_RowChangedName="EventRowChanged" msprop:Generator_RowEvHandlerName="EventRowChangeEventHandler" msprop:Generator_RowClassName="EventRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EventID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnEventID" msprop:Generator_ColumnPropNameInRow="EventID" msprop:Generator_ColumnPropNameInTable="EventIDColumn" msprop:Generator_UserColumnName="EventID" type="xs:int" />
              <xs:element name="EventName" msprop:Generator_ColumnVarNameInTable="columnEventName" msprop:Generator_ColumnPropNameInRow="EventName" msprop:Generator_ColumnPropNameInTable="EventNameColumn" msprop:Generator_UserColumnName="EventName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" msprop:Generator_UserColumnName="StartDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" msprop:Generator_UserColumnName="EndDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EventComments" msprop:Generator_ColumnVarNameInTable="columnEventComments" msprop:Generator_ColumnPropNameInRow="EventComments" msprop:Generator_ColumnPropNameInTable="EventCommentsColumn" msprop:Generator_UserColumnName="EventComments" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="400" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Price" msprop:Generator_ColumnVarNameInTable="columnPrice" msprop:Generator_ColumnPropNameInRow="Price" msprop:Generator_ColumnPropNameInTable="PriceColumn" msprop:Generator_UserColumnName="Price" type="xs:decimal" minOccurs="0" />
              <xs:element name="RegistrationEndDate" msprop:Generator_ColumnVarNameInTable="columnRegistrationEndDate" msprop:Generator_ColumnPropNameInRow="RegistrationEndDate" msprop:Generator_ColumnPropNameInTable="RegistrationEndDateColumn" msprop:Generator_UserColumnName="RegistrationEndDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="IsAfterEndRegistrationStillOpen" msprop:Generator_ColumnVarNameInTable="columnIsAfterEndRegistrationStillOpen" msprop:Generator_ColumnPropNameInRow="IsAfterEndRegistrationStillOpen" msprop:Generator_ColumnPropNameInTable="IsAfterEndRegistrationStillOpenColumn" msprop:Generator_UserColumnName="IsAfterEndRegistrationStillOpen" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="EventToKen" msprop:Generator_TableClassName="EventToKenDataTable" msprop:Generator_TableVarName="tableEventToKen" msprop:Generator_TablePropName="EventToKen" msprop:Generator_RowDeletingName="EventToKenRowDeleting" msprop:Generator_UserTableName="EventToKen" msprop:Generator_RowChangingName="EventToKenRowChanging" msprop:Generator_RowEvHandlerName="EventToKenRowChangeEventHandler" msprop:Generator_RowDeletedName="EventToKenRowDeleted" msprop:Generator_RowEvArgName="EventToKenRowChangeEvent" msprop:Generator_RowChangedName="EventToKenRowChanged" msprop:Generator_RowClassName="EventToKenRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="KenId" msprop:Generator_ColumnVarNameInTable="columnKenId" msprop:Generator_ColumnPropNameInRow="KenId" msprop:Generator_ColumnPropNameInTable="KenIdColumn" msprop:Generator_UserColumnName="KenId" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="EventToLayer" msprop:Generator_TableClassName="EventToLayerDataTable" msprop:Generator_TableVarName="tableEventToLayer" msprop:Generator_TablePropName="EventToLayer" msprop:Generator_RowDeletingName="EventToLayerRowDeleting" msprop:Generator_UserTableName="EventToLayer" msprop:Generator_RowChangingName="EventToLayerRowChanging" msprop:Generator_RowEvHandlerName="EventToLayerRowChangeEventHandler" msprop:Generator_RowDeletedName="EventToLayerRowDeleted" msprop:Generator_RowEvArgName="EventToLayerRowChangeEvent" msprop:Generator_RowChangedName="EventToLayerRowChanged" msprop:Generator_RowClassName="EventToLayerRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LayerId" msprop:Generator_ColumnVarNameInTable="columnLayerId" msprop:Generator_ColumnPropNameInRow="LayerId" msprop:Generator_ColumnPropNameInTable="LayerIdColumn" msprop:Generator_UserColumnName="LayerId" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="EventToRegion" msprop:Generator_TableClassName="EventToRegionDataTable" msprop:Generator_TableVarName="tableEventToRegion" msprop:Generator_TablePropName="EventToRegion" msprop:Generator_RowDeletingName="EventToRegionRowDeleting" msprop:Generator_UserTableName="EventToRegion" msprop:Generator_RowChangingName="EventToRegionRowChanging" msprop:Generator_RowEvHandlerName="EventToRegionRowChangeEventHandler" msprop:Generator_RowDeletedName="EventToRegionRowDeleted" msprop:Generator_RowEvArgName="EventToRegionRowChangeEvent" msprop:Generator_RowChangedName="EventToRegionRowChanged" msprop:Generator_RowClassName="EventToRegionRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="RegionId" msprop:Generator_ColumnVarNameInTable="columnRegionId" msprop:Generator_ColumnPropNameInRow="RegionId" msprop:Generator_ColumnPropNameInTable="RegionIdColumn" msprop:Generator_UserColumnName="RegionId" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="GetOneEvent" msprop:Generator_TableClassName="GetOneEventDataTable" msprop:Generator_TableVarName="tableGetOneEvent" msprop:Generator_TablePropName="GetOneEvent" msprop:Generator_RowDeletingName="GetOneEventRowDeleting" msprop:Generator_UserTableName="GetOneEvent" msprop:Generator_RowChangingName="GetOneEventRowChanging" msprop:Generator_RowEvHandlerName="GetOneEventRowChangeEventHandler" msprop:Generator_RowDeletedName="GetOneEventRowDeleted" msprop:Generator_RowEvArgName="GetOneEventRowChangeEvent" msprop:Generator_RowChangedName="GetOneEventRowChanged" msprop:Generator_RowClassName="GetOneEventRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EventID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnEventID" msprop:Generator_ColumnPropNameInRow="EventID" msprop:Generator_ColumnPropNameInTable="EventIDColumn" msprop:Generator_UserColumnName="EventID" type="xs:int" />
              <xs:element name="EventName" msprop:Generator_ColumnVarNameInTable="columnEventName" msprop:Generator_ColumnPropNameInRow="EventName" msprop:Generator_ColumnPropNameInTable="EventNameColumn" msprop:Generator_UserColumnName="EventName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" msprop:Generator_UserColumnName="StartDate" type="xs:dateTime" />
              <xs:element name="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" msprop:Generator_UserColumnName="EndDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="RegistrationEndDate" msprop:Generator_ColumnVarNameInTable="columnRegistrationEndDate" msprop:Generator_ColumnPropNameInRow="RegistrationEndDate" msprop:Generator_ColumnPropNameInTable="RegistrationEndDateColumn" msprop:Generator_UserColumnName="RegistrationEndDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EventComments" msprop:Generator_ColumnVarNameInTable="columnEventComments" msprop:Generator_ColumnPropNameInRow="EventComments" msprop:Generator_ColumnPropNameInTable="EventCommentsColumn" msprop:Generator_UserColumnName="EventComments" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="400" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Price" msprop:Generator_ColumnVarNameInTable="columnPrice" msprop:Generator_ColumnPropNameInRow="Price" msprop:Generator_ColumnPropNameInTable="PriceColumn" msprop:Generator_UserColumnName="Price" type="xs:decimal" />
              <xs:element name="priceForMembers" msprop:Generator_ColumnVarNameInTable="columnpriceForMembers" msprop:Generator_ColumnPropNameInRow="priceForMembers" msprop:Generator_ColumnPropNameInTable="priceForMembersColumn" msprop:Generator_UserColumnName="priceForMembers" type="xs:int" minOccurs="0" />
              <xs:element name="priceForBrothers" msprop:Generator_ColumnVarNameInTable="columnpriceForBrothers" msprop:Generator_ColumnPropNameInRow="priceForBrothers" msprop:Generator_ColumnPropNameInTable="priceForBrothersColumn" msprop:Generator_UserColumnName="priceForBrothers" type="xs:int" minOccurs="0" />
              <xs:element name="IsAfterEndRegistrationStillOpen" msprop:Generator_ColumnVarNameInTable="columnIsAfterEndRegistrationStillOpen" msprop:Generator_ColumnPropNameInRow="IsAfterEndRegistrationStillOpen" msprop:Generator_ColumnPropNameInTable="IsAfterEndRegistrationStillOpenColumn" msprop:Generator_UserColumnName="IsAfterEndRegistrationStillOpen" type="xs:boolean" />
              <xs:element name="isSwimming" msprop:Generator_ColumnVarNameInTable="columnisSwimming" msprop:Generator_ColumnPropNameInRow="isSwimming" msprop:Generator_ColumnPropNameInTable="isSwimmingColumn" msprop:Generator_UserColumnName="isSwimming" type="xs:boolean" />
              <xs:element name="isShirt" msprop:Generator_ColumnVarNameInTable="columnisShirt" msprop:Generator_ColumnPropNameInRow="isShirt" msprop:Generator_ColumnPropNameInTable="isShirtColumn" msprop:Generator_UserColumnName="isShirt" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Event" />
      <xs:field xpath="mstns:EventID" />
    </xs:unique>
    <xs:unique name="GetOneEvent_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:GetOneEvent" />
      <xs:field xpath="mstns:EventID" />
    </xs:unique>
  </xs:element>
</xs:schema>